package com.mlnx.work.pojo.vo;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.mlnx.work.enums.TaskTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("任务列表返回参数类")
public class TaskListVO {

    @ApiModelProperty("任务ID")
    private Integer taskId;

    @EnumValue
    @ApiModelProperty("任务类型")
    private TaskTypeEnum taskType;

    @ApiModelProperty("任务名称")
    private String taskName;

    @ApiModelProperty("截止时间")
    private Long originEndTime;

    @ApiModelProperty("所属层级目录ID")
    private Integer dirId;

    @ApiModelProperty("所属层级目录名称")
    private String dirName;
}
